package rlyy.framework.netty.server;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import rlyy.framework.netty.config.ServerConfig;

@Configuration
@EnableConfigurationProperties(ServerConfig.class)
@ConditionalOnProperty(value = "netty.server.enable", havingValue = "true", matchIfMissing = true)
@ComponentScan("rlyy.framework.netty")
public class NettyServerAutoConfiguration  {

}
